home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / games / wordy313.zip / ANAGRAM.DOC < prev    next >
Text File  |  1995-03-28  |  4KB  |  77 lines

  1.                                    ANAGRAM
  2. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  3.  
  4. 04 September, 1994
  5.  
  6.  
  7. I am most pleased by the response to WORDY.   It is gratifying that there is
  8. still an audience for simple text-based word games and that not everyone has
  9. been spoiled by convenient and  flashy  Graphic User  Interfaces  that adorn
  10. mostly boring games.
  11.  
  12. About a month ago, David Thomas of Penrith, Australia pointed out to me that
  13. the WORDY package  is  missing  an  important  utility.  He wanted to see  a
  14. program that would   list    all   the "permissable"  words that  could   be
  15. constructed from an entered word or letter set. At first, I was skeptical. I
  16. was reluctant to  enter on a project that  could consume great  chunks of my
  17. limited time. When finally  I began   to dabble with the idea, I found to my
  18. surprise that I could re-use some of my original WORDY source code, and that
  19. I was able to whip up a workable ANAGRAM program in only a few hours.
  20.  
  21. To my further  surprise, the ANAGRAM   program   runs quite  fast.   At  the
  22. beginning of the project, I had estimated it would take  maybe 20 minutes to
  23. do a complete anagram  search on a given letter set.  After all, a 10-letter
  24. set has over 3,600,000 possible combinations to test.  Then came inspiration.
  25. I need test only  the 99,000+  words in the WORD.LST file singly against the
  26. letter set, and this is true  no matter how long the entered letter set.  As
  27. an additional benefit,  the list of words constructed  will be  alphabetized
  28. in the listing  file. ANAGRAM will test a letter set in about 21  seconds on
  29. my aging 386SX-33 computer. A speedy  486 or  Pentium computer with  a  fast
  30. hard drive should be able to cut that time down to virtually nothing.
  31.  
  32. To run ANAGRAM, type: anagram xxxxxxxx (where xxxxxxxx is the set of letters
  33. or word you wish to anagram.  The program will save all the anagrammed words
  34. (the "acceptable" words that can be constructed from the entered letter set)
  35. in a file named after the letter set.   This is  an  ASCII  file that can be
  36. viewed with a file viewer  or  printed with no special measures taken.  Note
  37. that you need   the file  WORD.LST  from the WORDY package in  your  current
  38. working directory, as this is the word file from which the  anagrammed words
  39. are validated. 
  40.  
  41. After considerable thought,   I have decided  not to  raise  the   suggested
  42. registration fee for the WORDY  package from the original $2.00.  This makes
  43. it something of  a bargain by  contemporary  standards.  This is not a fancy
  44. game, but it  can provide many hours  of fascination for those interested in
  45. language and words.  It can also  be an invaluable practice aid for Scrabble
  46. (tm) players, especially  now that    racks of letters in  that  game can be
  47. quickly tested for all possible valid constructible words.
  48.  
  49. The source code for ANAGRAM, the files ANAGRAM.C and SRCH.H are now included
  50. as part of the package for all you C programmers out there to play with.
  51.  
  52. ----------------------------------------------------------------------------
  53. Addendum 02/26/95:
  54.  
  55. The ANAGRAM utility now has been updated to work with "wild cards", or "blank 
  56. tiles".  The "wild card" or "blank tile" character is the ?  (question mark).
  57. For example,  to anagram the letters  RETIN with two "blank tiles",     type:
  58.                             anagram retin??
  59. The "wild card" characters may be placed in any position in the letter set to 
  60. be tested.  Typing: anagram ?reti?n    or r??etin    or ??retin  has the same 
  61. results as above.
  62.  
  63. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  64.  
  65. M\Cooper
  66. 3425 Chestnut Ridge Road
  67. Grantsville, MD 21536-9801
  68. --------------------------
  69. Email:  thegrendel@aol.com
  70.  
  71. +++
  72.  
  73. Scrabble (tm) is a trademark of the Selchow & Righter Co., Inc.
  74.  
  75. Special thanks to the late Alfred Butts,  the inventor of Scrabble (tm), for
  76. bringing us this endlessly fascinating pasttime.
  77.